package com.zd01.model;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class StudentModel {
    private Integer id;
    private String name;
    private Integer age;
    private Integer sex;
    private LocalDate create_time;
//    private String book_name;
    private Integer book_id;

    public Integer getBook_id() {
        return book_id;
    }

    @Override
    public String toString() {
        return "StudentModel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", create_time=" + create_time +
//                ", book_name='" + book_name + '\'' +
                ", book_id=" + book_id +
                '}';
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

//    public String getBook_name() {
//        return book_name;
//    }
//
//    public void setBook_name(String book_name) {
//        this.book_name = book_name;
//    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public LocalDate getCreate_time() {
        return create_time;
    }

    public void setCreate_time(LocalDate create_time) {
        this.create_time = create_time;
    }
}
